package cn.fxl.system.mapper;

import cn.fxl.system.domain.Role;
import cn.fxl.basic.mapper.BasicMapper;
import com.baomidou.mybatisplus.extension.api.R;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Tom
 * @since 2022-07-20
 */
public interface RoleMapper extends BasicMapper<Role> {

    void removeMenuRoleId(Long id);

    void removePermissionRoleId(Long id);

    void saveRoleMenu(Role  role);

    void savePermission(Role  role);

    void removeEmployeeRoleId(Long id);
}
